package com.fz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by webrx on 2017-09-05.
 */
@Controller
public class User {
    @RequestMapping
    public String show(Model m){
        m.addAttribute("name","zhuang");
        return "hello";
    }
}
